package com.zxkj.domain.entity;

import javax.persistence.EmbeddedId;
import javax.persistence.Entity;

/**
 * Created by Administrator on 2017/7/11.
 */

@Entity
public class CorporationMapDeptAu {
    @EmbeddedId
    private CorporationMapDeptAuPK corporationMapDeptAuPK;

    public CorporationMapDeptAu() {
    }

    public CorporationMapDeptAu(Integer deptId, String auId) {
        this.corporationMapDeptAuPK = new CorporationMapDeptAuPK(deptId,auId);
    }

    public CorporationMapDeptAuPK getCorporationMapDeptAuPK() {
        return corporationMapDeptAuPK;
    }

    public void setCorporationMapDeptAuPK(CorporationMapDeptAuPK corporationMapDeptAuPK) {
        this.corporationMapDeptAuPK = corporationMapDeptAuPK;
    }
}

